@import '/assets/fonts/iconfont.wxss';

.customer-management {
  padding: 0 24rpx 0 16rpx;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  flex-direction: column;

  .banner-img {
    width: 100%;

    .image {
      width: 100%;
    }
  }

  .panalBody {
    flex-grow: 1;
    height: 0;
  }

  .add-customer {
    border: 2rpx dashed #1989fa;
    color: #1989fa;
    text-align: center;
    margin-bottom: 32rpx;
    border-radius: 16rpx;
    background: #fff;
    position: relative;
    overflow: hidden;

    .iconfont {
      position: absolute;
      right: 0;
      top: 0;
      font-size: 130rpx;
      opacity: .1;
      color: #343a40;
      transform: rotate(-10deg) scale(1.2);
    }

    .add-customer-inner {
      display: flex;
      align-items: center;
      padding: 24rpx 20rpx;
    }

    .plus {
      font-size: 64rpx;
      margin-right: 24rpx;
      line-height: 1;
      font-weight: 300;
    }

    .add-text {
      font-size: 36rpx;
      line-height: 1;
      font-weight: 500;
    }
  }

  .customer-list {
    .customer-card {
      display: flex;
      align-items: center;
      background: #fff;
      border-radius: 16rpx;
      margin-bottom: 24rpx;
      padding-left: 24rpx;

      .avatar {
        width: 64rpx;
        height: 64rpx;
        background: #F7F7F9;
        border-radius: 10rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32rpx;
        margin-right: 24rpx;
      }

      .info {
        padding: 24rpx 0;
        flex: 1;

        .name {
          font-size: 32rpx;
          font-weight: bold;
        }

        .desc {
          color: #999;
          font-size: 24rpx;
        }
      }

      .imgBox {

        padding: 24rpx;
      }

      .icon {
        width: 40rpx;
        height: 40rpx;
        color: #5bbecf;
      }
    }
  }
}

.custom-search-bar {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 16rpx;
  box-shadow: 0 2rpx 8rpx 0 rgba(0, 0, 0, 0.04);
  padding: 0 20rpx;
  height: 84rpx;
  margin-bottom: 18rpx;

  .search-left {
    display: flex;
    align-items: center;
    flex: 1;
  }

  .search-icon {
    color: #b0bec5;
    margin-right: 12rpx;
    font-size: 32rpx;
  }

  .search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 28rpx;
    flex: 1;
    color: #333;
  }

  .sort-icon {
    color: #5bbecf;
    margin-left: 12rpx;
    font-size: 32rpx;
  }
}